package com.example.qxfw.cshx.service;

import com.example.qxfw.common.entity.zy.BaseProduct;
import com.example.qxfw.common.entity.zy.CshxZsyb;
import org.springframework.web.multipart.MultipartFile;

import java.sql.Timestamp;
import java.text.ParseException;
import java.util.List;

public interface FireWarningService {
    /**
     * 火险预报
     *
     * @param time 时间
     * @return
     */
    List<CshxZsyb> fireDangerForecasting(String time, String timeChar);

    /**
     * 根据产品名称拿到id
     *
     * @param productName 产品名称
     */
    int selectByNameOfProduct(String productName);


    Object forecastRelease(String date, String userName, MultipartFile[] images) throws ParseException;

    String fireProneAreas(String forecastDate);

}
